<?php

$section = 'business_solution';

$titre = _LB_CHANNEL_EDIT;
$smarty->assign('titre', $titre);

$id = Request::getIntNumber('id');
$backlink = Session::getBackLink('business_solution');
$currentlink = APPLICATION_URL . "/business_solution/delete/?id=". $id;

$bs = new Business_Solution();
if(!$bs->get($id))
	redirect($backlink);

if ($bs->deletable($bs->ID)){
	$bs->delete();
}

redirect($backlink);